﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.IO;
using Blade;
using Blade.Metadata.CliLoader;
using Blade.IO;

namespace Blade.Metadata.PeLoader {
	public sealed class PeMetadataLoader : CliMetadataLoaderBase {
		public PeMetadataLoader(IServiceProvider services)
			: base(services) {
		}

		protected override ICliFileReader CreateFileReader(CursorStream stream, IMetadataLoaderContext context) {
			return new PeFile(stream, context);
		}
	}
}
